Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-buffer

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-buffer

Make sure all gulp file contents are available as buffer

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
15K
increased by42.01%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-buffer

Some gulp plugins do not support streaming file contents. gulp-buffer and gulp-stream come to the rescue.

There are 3 main reasons why a gulp plugin may not support stream :

* The stream support is on the roadmap but has not been added to the plugin
* The underlying library used for the transformation does yet support a streaming API
* The content transformation is not very well suited for streaming (think of content.reverse() for example where you need the end of the file first)

In all these cases, simply add gulp-buffer in front of such a plugin, and it will make sure that the plugin is presented only with buffers.

When you want to go back to full streaming capabilities, add gulp-stream and it will make sure that all your files are streamed again.

build status

Installation

$ npm install gulp-buffer

Licence

MIT

Keywords

FAQs

Package last updated on 26 Jan 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc